Add a GtkSpinner testcase
authorMatthias Clasen <mclasen@redhat.com>
Wed, 22 Jun 2011 03:37:30 +0000 (23:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2011 20:08:05 +0000 (16:08 -0400)
tests/a11y/Makefile.am
tests/a11y/spinner.txt [new file with mode: 0644]
tests/a11y/spinner.ui [new file with mode: 0644]

index 2f4f4abb046dd24f90317312f7f694ce7be7647c..62b86fc63f2f973e4a83af264f0ed26cf97c74da 100644 (file)
@@ -38,4 +38,5 @@ EXTRA_DIST += \
        expander.ui expander.txt \
        assistant.ui assistant.txt \
        pickers.ui pickers.txt \
-       lockbutton.ui lockbutton.txt
+       lockbutton.ui lockbutton.txt \
+       spinner.ui spinner.txt
diff --git a/tests/a11y/spinner.txt b/tests/a11y/spinner.txt
new file mode 100644 (file)
index 0000000..35a91b2
--- /dev/null
@@ -0,0 +1,22 @@
+window1
+  "window"
+  index: 0
+  state: enabled resizable sensitive showing visible
+  toolkit: gail
+  <AtkComponent>
+  layer: window
+  alpha: 1
+  spinner1
+    "unknown"
+    parent: window1
+    index: 0
+    name: Spinner
+    description: Provides visual indication of progress
+    state: enabled sensitive showing visible
+    toolkit: gail
+    <AtkComponent>
+    layer: widget
+    alpha: 1
+    <AtkImage>
+    image size: 12 x 12
+    image description: (null)
diff --git a/tests/a11y/spinner.ui b/tests/a11y/spinner.ui
new file mode 100644 (file)
index 0000000..3873564
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkSpinner" id="spinner1">
+        <property name="visible">True</property>
+        <property name="active">True</property>
+      </object>
+    </child>
+  </object>
+</interface>